﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using LostHobbits.Scene;

namespace LostHobbits.GameStates
{
    public class Playing : GameStateBase
    {
        private GameScene[] levels;
        private Game game;
        ISceneService sceneManager;

        public Playing(Game game, int level)
        {
            this.game = game;
            sceneManager = (ISceneService)game.Services.GetService(typeof(ISceneService));
            sceneManager.LoadScene(levels[level]);
        }

        public void Level(int level) 
        {
            sceneManager.LoadScene(levels[level]);
        }

        #region IGameState Members

        protected override void Update(GameTime gameTime)
        {
            throw new NotImplementedException();
        }      

        public void Draw()
        {
            
        }

        #endregion

        protected override void ExecuteCommand(Input.CommandType command)
        {
            throw new NotImplementedException();
        }
    }
}
